const path = require('path')

// const packageName = 'mainApp'

function resolve(dir) {
  return path.join(__dirname, dir)
}

const port = 8000

module.exports = {
  devServer: { port },
  // 自定义webpack配置
  configureWebpack: {
    resolve: {
      alias: {
        '@': resolve('src')
      }
    }
  }
}
